package org.example.travel_web.dto.attraction;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import lombok.Data;

@Data
public class UserAttractionPageResp {
    /**
     * 景点 ID
     */
    @Schema(description = "景点 ID")
    private Integer attractionId;

    /**
     * 景点名称
     */
    @Schema(description = "景点名称")
    @NotBlank(message = "景点名称不能为空")
    private String name;
    /**
     * 封面
     */
    @Schema(description = "封面")
    private String pic;
}
